MC -u -U CustomEventSource.mc

RC -r CustomEventSource.rc

LINK -dll -noentry -out:CustomEventSource.dll CustomEventSource.res

DEL CustomEventSource.rc
DEL CustomEventSource.res
DEL *.bin

PAUSE